package com.alibaba.luohua.product.service;

import com.alibaba.luohua.common.core.dto.request.ArticleQueryObject;
import com.alibaba.luohua.common.core.dto.respone.ArticleDTO;
import com.alibaba.luohua.common.core.dto.respone.ArticleRspDTO;
import com.alibaba.luohua.product.entity.ArticleEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 物品业务层
 *
 * @author 罗华
 * @date 2022/3/15
 */
public interface ArticleService extends IService<ArticleEntity> {

    /**
     * 查询物品信息详情
     *
     * @param id
     * @return
     */
    ArticleRspDTO get(Long id);

    /**
     * 按条件查询物品信息列表
     *
     * @param pageDTO
     * @return
     */
    List<ArticleDTO> queryForList(ArticleQueryObject pageDTO);
}
